]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Don't move window when it got unmanaged during shift animation
authorSebastian Keller <skeller@gnome.org>
Sat, 25 Oct 2025 11:03:55 +0000 (13:03 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 28 Oct 2025 18:38:50 +0000 (18:38 +0000)
commit4900aad2deab7398e69b1a57a38285fa73974c0f
tree2c52236099f95b4c511d2307fb2e7fda1b633b39
parent71694d12a95c0560d4875fd36c55840c57e334c9
keyboard: Don't move window when it got unmanaged during shift animation

When a window with a text-entry at the bottom that had triggered the OSK
and was shifted up to avoid overlapping the OSK is closed right after
losing keyboard focus, this results in a crash. The focus loss triggers
the animation to move the window actor back into its original position,
which moves the underlying window when finished. That however will fail
when the window has been unmanaged and some of the underlying resources
have already been destroyed while the animation was playing.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8752
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3933>
js/ui/keyboard.js